#ifndef AVOID_H
#define AVOID_H

#include <QObject>
#include "myfunc.h"
//函数计算线程，防止程序卡死

class Avoid : public QObject
{
    Q_OBJECT
public:
    explicit Avoid(QObject *parent = nullptr);
public slots:
    void calc(MyFunc* function);
signals:
    void over();
};

#endif // AVOID_H
